package com.hrpmar.pojo;

/**
 * 药品信息表
 */
public class Druginfo extends BasePojo {

  private Integer drugId;                    //药品序号
  private String drugNum;                   //药品编号
  private String drugName;                 //药品名称
  private String drugStandard;            //药品规格
  private String drugUnit;                //药品单位
  private String drugPreparation;       //药品剂型
  private Integer drugWarranty;         //保质期
  private String typeNum;               //药品类型
  private String drugRemark;            //备注
  private Integer drugFloor;             //库存下限


  /**
   * 创建人，创建时间，修改人，修改时间 继承自父类
   * @return
   */
  private Drugtype drugtype;          //药品类型对象

  private StockView stockView;      //药品总库存

  public StockView getStockView() {
    return stockView;
  }

  public void setStockView(StockView stockView) {
    this.stockView = stockView;
  }

  public Integer getDrugId() {
    return drugId;
  }

  public void setDrugId(Integer drugId) {
    this.drugId = drugId;
  }

  public String getDrugNum() {
    return drugNum;
  }

  public void setDrugNum(String drugNum) {
    this.drugNum = drugNum;
  }

  public String getDrugName() {
    return drugName;
  }

  public void setDrugName(String drugName) {
    this.drugName = drugName;
  }

  public String getDrugStandard() {
    return drugStandard;
  }

  public void setDrugStandard(String drugStandard) {
    this.drugStandard = drugStandard;
  }

  public String getDrugUnit() {
    return drugUnit;
  }

  public void setDrugUnit(String drugUnit) {
    this.drugUnit = drugUnit;
  }

  public String getDrugPreparation() {
    return drugPreparation;
  }

  public void setDrugPreparation(String drugPreparation) {
    this.drugPreparation = drugPreparation;
  }

  public Integer getDrugWarranty() {
    return drugWarranty;
  }

  public void setDrugWarranty(Integer drugWarranty) {
    this.drugWarranty = drugWarranty;
  }

  public String getTypeNum() {
    return typeNum;
  }

  public void setTypeNum(String typeNum) {
    this.typeNum = typeNum;
  }

  public String getDrugRemark() {
    return drugRemark;
  }

  public void setDrugRemark(String drugRemark) {
    this.drugRemark = drugRemark;
  }

  public Integer getDrugFloor() {
    return drugFloor;
  }

  public void setDrugFloor(Integer drugFloor) {
    this.drugFloor = drugFloor;
  }

  public Drugtype getDrugtype() {
    return drugtype;
  }

  public void setDrugtype(Drugtype drugtype) {
    this.drugtype = drugtype;
  }

  @Override
  public String toString() {
    return "Druginfo{" +
            "drugId=" + drugId +
            ", drugNum='" + drugNum + '\'' +
            ", drugName='" + drugName + '\'' +
            ", drugStandard='" + drugStandard + '\'' +
            ", drugUnit='" + drugUnit + '\'' +
            ", drugPreparation='" + drugPreparation + '\'' +
            ", drugWarranty=" + drugWarranty +
            ", typeNum='" + typeNum + '\'' +
            ", drugRemark='" + drugRemark + '\'' +
            ", drugFloor=" + drugFloor +
            ", drugtype=" + drugtype +
            ", stockView=" + stockView +
            '}';
  }
}
